package com.amao.ws.websocket.handler;

import javax.websocket.SendHandler;
import javax.websocket.SendResult;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CustomSendHandler implements SendHandler{
	
	public static Logger log = LoggerFactory.getLogger(CustomSendHandler.class);

	@Override
	public void onResult(SendResult result) {
		log.info("发送结果:{}",result.isOK());
	}

}
